package com.dayuanit.dy16.atm.service;

import com.dayuanit.dy16.atm.dto.CardDTO;
import com.dayuanit.dy16.atm.vo.TransferRequestVO;

import java.util.List;

public interface ICardService {

    void openaccount(String password, String confirmPwd, long userId);

    void deposit(long cardId, String password, String amount, long userId);

    void tranfer(TransferRequestVO transferRequestVO, long userId);

    List<CardDTO> queryMyCard(long userId);

    void draw(long cardId, String password, String amount, long userId);

    void delayTransfer(TransferRequestVO transferRequestVO, long userId);
}
